package com.weigee.ktv.m.entity;

import java.util.List;

/**
 * Created by linde on 2017/5/10.
 * <p/>
 */
public class SystemInformsEntity
{
    /**
     * data : [{"readed":0,"content":"天在做项目的时候,将CHARACTER做成了,字段的名称,和mysql的关键字,冲突了,还调了半天,一看在知道,CHARACTER是mysql的关键字,留个标记,呵呵!!","publishTime":1494317019000,"id":1,"updateTime":1494317024000,"title":"消息","type":1,"createTime":1494317022000},{"readed":0,"content":"但是我们想要使用key当列名，使用\"   \"或者'   '或者[]都是不行的\r\n只能使用`  `符号。","publishTime":1494319784000,"id":3,"updateTime":1494319784000,"title":"这个符号是键盘上TAB按键上面的那个按键","type":1,"createTime":1494319784000}]
     * unreaded : 2
     */

    private Integer unreaded;
    private List<DataBean> data;

    public Integer getUnreaded()
    {
        return unreaded;
    }

    public void setUnreaded(Integer unreaded)
    {
        this.unreaded = unreaded;
    }

    public List<DataBean> getData()
    {
        return data;
    }

    public void setData(List<DataBean> data)
    {
        this.data = data;
    }

    public static class DataBean
    {
        /**
         * readed : 0
         * content : 天在做项目的时候,将CHARACTER做成了,字段的名称,和mysql的关键字,冲突了,还调了半天,一看在知道,CHARACTER是mysql的关键字,留个标记,呵呵!!
         * publishTime : 1494317019000
         * id : 1
         * updateTime : 1494317024000
         * title : 消息
         * type : 1
         * createTime : 1494317022000
         */

        private Integer readed;
        private String content;
        private Long publishTime;
        private Integer id;
        private Long updateTime;
        private String title;
        private Integer type;
        private Long createTime;

        public Integer getReaded()
        {
            return readed;
        }

        public void setReaded(Integer readed)
        {
            this.readed = readed;
        }

        public String getContent()
        {
            return content;
        }

        public void setContent(String content)
        {
            this.content = content;
        }

        public Long getPublishTime()
        {
            return publishTime;
        }

        public void setPublishTime(Long publishTime)
        {
            this.publishTime = publishTime;
        }

        public Integer getId()
        {
            return id;
        }

        public void setId(Integer id)
        {
            this.id = id;
        }

        public Long getUpdateTime()
        {
            return updateTime;
        }

        public void setUpdateTime(Long updateTime)
        {
            this.updateTime = updateTime;
        }

        public String getTitle()
        {
            return title;
        }

        public void setTitle(String title)
        {
            this.title = title;
        }

        public Integer getType()
        {
            return type;
        }

        public void setType(Integer type)
        {
            this.type = type;
        }

        public Long getCreateTime()
        {
            return createTime;
        }

        public void setCreateTime(Long createTime)
        {
            this.createTime = createTime;
        }
    }
}
